            <% content_for :sidebar do -%>
            <div class="side_box">
                <ul class="menu">
                    <% if @topic.forum.class == CommunityForum -%>
                    <li><%= image_tag("house_go.png", :align=>"absmiddle")%> <%= link_to "返回#{@topic.forum.community.title}论坛", forum_path(@topic.forum) %></li>
                    <% else -%>
                    <li><%= image_tag("house_go.png", :align=>"absmiddle")%> <%= link_to "返回#{@topic.forum.title}论坛", forum_path(@topic.forum) %></li>
                    <% end -%>    
                </ul>
            </div>
	    <% end -%>
            
            <% content_for :navbar do -%>
            <div class="box">
                <img class="map" align="absmiddle" alt="You are here" src="/images/map.png"/>
                当前位置 
                » <%= link_to "您这儿", :controller =>'browse', :action => 'index' %>
                » <%= link_to "论坛", forums_path %>
                <% if @topic.forum.class == CommunityForum -%>
                » <%= link_to "#{@topic.forum.community.title}论坛", forum_path(@topic.forum) %>
                <% else -%>
                » <%= link_to "#{@topic.forum.title}论坛", forum_path(@topic.forum) %>
                <% end -%>
                » <%= link_to "#{@topic.title}", topic_path(@topic.forum, @topic) %>
                » 编辑帖子
            </div>
            <% end -%>
            <div class="box">
                <% form_tag topic_path(@topic.forum, @topic), :method => :put do -%>
                    <%= render :partial => 'topicForm' %>
                    <%= submit_tag '提交' %> 或者 <%= link_to '取消', topic_path(@topic.forum, @topic) %>
                <% end -%>
            </div>

